package com.day01.demo1;

public class san {
	public static void main(String[] args) {
		for (int i = 0; i < 9; i++) {
			for (int j = 0; j < i; j++) {
				System.out.print("*");
			}
			System.out.println("");
		}
		
		for (int i = 9; i > 0; i--) {
			for (int j = i; j > 0 ; j--) {
				System.out.print("*");
			}
			System.out.println("");
		}
		
	}
}
